<?php

   class FensiAction extends CommonAction{
   
     public function index(){
	 
	   $this->one=M('fensi')->where($where)->limit('3')->order('price desc')->select();
	 
	   
	   $this->re=M('fensi')->where('uopenid="%s"',session('openid'))->limit('3,10')->order('price desc')->select();
	 
	   $this->display();
	 
	 }
	 
	 
	
     public function xiala(){
	 
	   $re=M('fensi')->where('uopenid="%s"',session('openid'))->limit("$start,10")->order('price desc')->select();
	 
	   $this->ajaxReturn($ajax);
	 }
   
   }